import {axiosInstance} from "@/networks";
import {User} from "@/pojo/type/User";
import {AxiosResponse} from "axios";
import {Result} from "@/pojo/type/Result";

// 用户登录请求
export async function userLoginRequest(userInfo: User): Promise<any>{
    return axiosInstance?.post(`/user/login?username=${userInfo.username}&password=${userInfo.password}`);
}